package entity;

import java.util.ArrayList;
import java.util.List;

public class Teacher {
	private int id;
	private String name;
	private String sex;
	private int age;
	
	private List<InfoManage> ims=new ArrayList<>();
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Object[] toArray() {
		return new Object[] { id, name, sex, age };
	}

	public List<InfoManage> getIms() {
		return ims;
	}

	public void setIms(List<InfoManage> ims) {
		this.ims = ims;
	}
	
	
}
